home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Help / locale / help / english / sys / version.doc < prev    next >
Encoding:
Text File  |  2000-10-06  |  1.9 KB  |  53 lines

  1. VERSION
  2.  
  3. Finds software version and revision numbers.
  4.  
  5. Format
  6.  
  7. VERSION [<library | device | file>] [<version #>] [<revision #>] [<unit #>]
  8. [FILE] [INTERNAL] [RES] [FULL]
  9.  
  10. Template
  11.  
  12. NAME,VERSION/N,REVISION/N,UNIT/N,FILE/S,INTERNAL/S,FULL/S
  13.  
  14. Location
  15.  
  16. C:
  17.  
  18. VERSION finds the version and revision number of a library, device, command,
  19. or Workbench disk. VERSION can also test for a specific version/revision and
  20. set the condition flags if the version/revision is greater.
  21.  
  22. VERSION with no <library | device | file> argument prints the Kickstart
  23. version number and the Workbench version number and sets the two
  24. corresponding environment variables. If a name is specified, VERSION attempts
  25. to open the library, device, drive, or file and read the version information.
  26. Specify a device name, such as DF0: or DH0:, to get the version of the file
  27. system used by a drive.
  28.  
  29. When a <version #> or a <revision #> is specified, VERSION sets the condition
  30. flag to 0 if the version and revision number of the Kickstart, library, or
  31. device driver is greater than or equal to the specified values. Otherwise,
  32. the flag is set to 5 (WARN). If a revision number is not specified, no
  33. comparison on the revision number is performed.
  34.  
  35. The <unit #> option is obsolete and is retained for compatibility with older
  36. programs.
  37.  
  38. The FILE option forces VERSION to ignore libraries or device drivers
  39. currently loaded. This allows you to get the version number of a .library or
  40. .device file on disk when a library or device of that name is already in
  41. memory or available in LIBS:. The RES option gets the version of Resident
  42. commands. Built-in Shell commands have the same version string as the Shell.
  43. INTERNAL is also obsolete and retained for compatibility. The FULL option
  44. prints out the complete version of the string, including the date.
  45.  
  46. Examples:
  47.  
  48. 1> VERSION
  49. Kickstart 40.70 Workbench 44.1
  50.  
  51. 1> VERSION Alpha:Libs/xyz.library FILE FULL
  52. xyz.library 1.13 (05/24/93)
  53.